package com.ibeetl.cms.dao;

import java.util.List;
import com.ibeetl.cms.web.query.InsuranceQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.cms.entity.*;

/**
 * 健康保险 Dao
 */
@SqlResource("cms.insurance")
public interface InsuranceDao extends BaseMapper<Insurance>{
    public PageQuery<Insurance> queryByCondition(PageQuery query);
    public void batchDelInsuranceByIds( List<Long> ids);

    PageQuery<Insurance> findenterprise(PageQuery query);
    List<Insurance>  queryCompany(InsuranceQuery condtion);
    PageQuery<Insurance>  queryEmployees(PageQuery page);
    PageQuery<Insurance>  queryDoneTask(PageQuery page);


    int queryEmployeesCount(InsuranceQuery condition);
}